package quq.missq.beans;

import java.util.ArrayList;
import java.util.LinkedList;

/**
 * Created by River on 8/24/15.
 */
public class TaPageBean {

    private int code;
    private String message;
    private Data data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public class Data{
        private boolean count;
        private int firstResult;
        private int maxResults;
        private int next;
        private int pageCount;
        private int pageNo;
        private int prev;
        private int size;
        private int totalCount;
        private LinkedList<Result> results;

        public boolean isCount() {
            return count;
        }

        public void setCount(boolean count) {
            this.count = count;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getPageCount() {
            return pageCount;
        }

        public void setPageCount(int pageCount) {
            this.pageCount = pageCount;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPrev() {
            return prev;
        }

        public void setPrev(int prev) {
            this.prev = prev;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public LinkedList<Result> getResults() {
            return results;
        }

        public void setResults(LinkedList<Result> results) {
            this.results = results;
        }
    }

    public class Result{

        private String created;
        private int id;
        private int tab;
        private Post post;

        public Post getPost() {
            return post;
        }

        public void setPost(Post post) {
            this.post = post;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getTab() {
            return tab;
        }

        public void setTab(int tab) {
            this.tab = tab;
        }
    }

    public class Post{
        private int actors;
        private int anon;
        private ArrayList<Author> atUsers;
        private ArrayList<Attach> attachs;
        private Author author;
        private Category category;
        private int comments;
        private String created;
        private int deleted;
        private int favored;
        private int favors;
        private int id;
        private int images;
        private int lastImageId;
        private String mediaPath;
        private int mediaType;
        private int status;
        private int tab;
        private String title;
        private ArrayList<TopicBean.DigestComment> digestComments;

        public ArrayList<TopicBean.DigestComment> getDigestComments() {
            return digestComments;
        }

        public void setDigestComments(ArrayList<TopicBean.DigestComment> digestComments) {
            this.digestComments = digestComments;
        }

        public int getActors() {
            return actors;
        }

        public void setActors(int actors) {
            this.actors = actors;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getAnon() {
            return anon;
        }

        public void setAnon(int anon) {
            this.anon = anon;
        }

        public ArrayList<Author> getAtUsers() {
            return atUsers;
        }

        public void setAtUsers(ArrayList<Author> atUsers) {
            this.atUsers = atUsers;
        }

        public ArrayList<Attach> getAttachs() {
            return attachs;
        }

        public void setAttachs(ArrayList<Attach> attachs) {
            this.attachs = attachs;
        }

        public Author getAuthor() {
            return author;
        }

        public void setAuthor(Author author) {
            this.author = author;
        }

        public Category getCategory() {
            return category;
        }

        public void setCategory(Category category) {
            this.category = category;
        }

        public int getComments() {
            return comments;
        }

        public void setComments(int comments) {
            this.comments = comments;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public int getFavored() {
            return favored;
        }

        public void setFavored(int favored) {
            this.favored = favored;
        }

        public int getFavors() {
            return favors;
        }

        public void setFavors(int favors) {
            this.favors = favors;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getImages() {
            return images;
        }

        public void setImages(int images) {
            this.images = images;
        }

        public int getLastImageId() {
            return lastImageId;
        }

        public void setLastImageId(int lastImageId) {
            this.lastImageId = lastImageId;
        }

        public String getMediaPath() {
            return mediaPath;
        }

        public void setMediaPath(String mediaPath) {
            this.mediaPath = mediaPath;
        }

        public int getMediaType() {
            return mediaType;
        }

        public void setMediaType(int mediaType) {
            this.mediaType = mediaType;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getTab() {
            return tab;
        }

        public void setTab(int tab) {
            this.tab = tab;
        }
    }


}
